home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / esc.jar / com / extensibility / xml / ElementDeclaration$2.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-06-30  |  1.1 KB  |  29 lines

  1. package com.extensibility.xml;
  2.  
  3. import java.util.Vector;
  4.  
  5. class ElementDeclaration$2 implements ContentModelTerm.Visitor {
  6.    // $FF: synthetic field
  7.    final boolean val$ignoreNSQualified;
  8.    // $FF: synthetic field
  9.    final Vector val$badNames;
  10.    // $FF: synthetic field
  11.    final ElementDeclaration this$0;
  12.  
  13.    public void visit(ContentModelTerm var1) {
  14.       if (var1.isTermReference()) {
  15.          if (var1.getReferent() == null) {
  16.             if (!this.val$ignoreNSQualified || !var1.isQualified()) {
  17.                this.val$badNames.addElement(var1.getTerm());
  18.             }
  19.          }
  20.       }
  21.    }
  22.  
  23.    ElementDeclaration$2(boolean var1, Vector var2, ElementDeclaration var3) {
  24.       this.val$ignoreNSQualified = var1;
  25.       this.val$badNames = var2;
  26.       this.this$0 = var3;
  27.    }
  28. }
  29.